From 0404e068491cfa5780a146aac96d452075425689 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 11 Dec 2009 09:00:40 +0000 Subject: [PATCH] libxenlight: Disable unneeded C++ binding for libconfig If we want to avoid that a C++ compiler becomes a requirement for a Xen build, we should disable the (unneeded) C++ library generation for the embedded libconfig. Signed-off-by: Andre Przywara --- tools/libxl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index e0e257d050..4d86cf7866 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -48,7 +48,7 @@ $(LIBCONFIG_SOURCE).tar.gz: $(LIBCONFIG_OUTPUT)/libconfig.so: $(LIBCONFIG_SOURCE).tar.gz [ ! -d "$(LIBCONFIG_SOURCE)" ] && tar xzf $< - cd $(LIBCONFIG_SOURCE) && ./configure --prefix=$(DESTDIR)$(PREFIX) && $(MAKE) + cd $(LIBCONFIG_SOURCE) && ./configure --prefix=$(DESTDIR)$(PREFIX) --disable-cxx && $(MAKE) xl.o: $(LIBCONFIG_OUTPUT)/libconfig.so xl.c $(CC) $(CFLAGS) -I$(LIBCONFIG_SOURCE) -c xl.c -- 2.30.2